var createNewLocation = function() {
	goToTab("LOCATION");
	getTabContent("location/add");
		
};

var deleteLocation = function(id){
	
	alert(id);
	if (confirm("Are you want to delete?")) {
		// 'this' refers to element that was clicked
		getTabContent("location/delete?locationId="+id);
	} else {
		return false;
	}
};